package com.atguigu.eduorder.feign;

import com.atguigu.commonutils.orderVo.UcenterMemberOrderVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @ClassName UcenterClient
 * @Description TODO
 * @Detail detail
 * @Author MyPC
 * @Date 2020/6/24
 * @Version 1.0
 */
@Component
@FeignClient("service-ucenter")
public interface UcenterClient {
    @PostMapping("/educenter/member/getMemberInfoOrder/{memberId}")
    UcenterMemberOrderVo getMemberInfoOrder(@PathVariable("memberId") String memberId);

}
